package com.zj.ssm.mapper;

import com.zj.ssm.pojo.domain.Subscribe;
import com.zj.ssm.pojo.domain.query.SubscribeQuery;


import java.util.List;

public interface SubscribeMapper {
    List<Subscribe> querySubscribe(SubscribeQuery query);
    long querySubscribeTotal(SubscribeQuery query);

    int addSubscribe(Subscribe subscribe);

    int deleteSubscribe(Integer id);

    Subscribe getSubscribeByID(Integer id);

    int updateSubscrilbe(Subscribe subscribe);
}
